import { withInstall } from "$/utils";
export * from "./src/types/table";
export * from "./src/types/pagination";
export * from "./src/types/tableAction";
export { useTable } from "./src/hooks/useTable";

import basicTable from "./src/BasicTable.vue";
import tableAction from "./src/components/TableAction.vue";
import editTableHeaderIcon from "./src/components/EditTableHeaderIcon.vue";
import tableImg from "./src/components/TableImg.vue";
export type { EditRecordRow } from "./src/components/editable";
export type { FormSchema, FormProps } from "$/components/Form/src/types/form";

export const BasicTable = withInstall(basicTable);
export const TableAction = withInstall(tableAction);
export const EditTableHeaderIcon = withInstall(editTableHeaderIcon);
export const TableImg = withInstall(tableImg);
